﻿using System.Collections.Generic;
using System.Web;

namespace ControleRepresentante.UnitTests.Mocks
{
    public class MockHttpContext : HttpContextBase
    {
        private readonly MockHttpRequest m_Request;

        public override HttpRequestBase Request { get { return m_Request; } }

        public MockHttpContext(Dictionary<string, string> requestValues, Dictionary<string, string> query)
        {
            m_Request = new MockHttpRequest(requestValues, query);
        }

        public MockHttpContext()
        {
            m_Request = new MockHttpRequest();
        }
    }
}